package aquarium.factory;

import java.awt.Point;

import aquarium.factory.FishType;
import aquarium.items.Bubble;
import aquarium.time.TManager;

public class BubbleFactory extends AquariumItemFactory<Bubble> {
	
	private TManager _tmanager;
	
	public BubbleFactory(TManager tmanager) {
		this._tmanager = tmanager;
	}
	
	@Override
	public Bubble newItems(FishType type) {
		return newItems();
	}

	public Bubble newItems(){
		int size = 15;
		Point position = new Point(350, 350);
		Point target = new Point(0, 0);
		Bubble b = new Bubble(position, size, false, true, 100, -1, target, false, _tmanager);
		return b;
	}
}